package com.ddwl.schema.vo.goods.bargain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import java.math.BigDecimal;
import java.time.Instant;

/**
 * @author: hemiaojun
 * @Date: 2020/10/23
 * @Description:
 */
@Getter
@Setter
@ApiModel("砍价活动vo")
public class BargainActivityVo {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("限购数量")
    private Integer limitQty;

    @ApiModelProperty("是否开启物流配送：0否，1是")
    private Integer logisticsTag;

    @ApiModelProperty("是否开启自提：0否，1是")
    private Integer selfMentionTag;

    @ApiModelProperty("店铺id")
    private String shopId;

    @ApiModelProperty("活动名称")
    private String name;

    @ApiModelProperty("活动开始时间")
    private Instant startTime;

    @ApiModelProperty("活动结束时间")
    private Instant endTime;

    @ApiModelProperty("帮砍金额，0：随机金额，1：固定帮砍人数")
    private Integer chopType;

    @ApiModelProperty("随机金额最小值")
    private BigDecimal randomMin;

    @ApiModelProperty("随机金额最大值")
    private BigDecimal randomMax;

    @ApiModelProperty("新用户模式是否开启 0：不开启，1：开启")
    private Integer newUserMode;

    @ApiModelProperty("新人倍率(整数)")
    private Integer newUserRate;

    @ApiModelProperty("帮砍人数")
    private Integer chopNum;

    @ApiModelProperty("砍价有效期 单位：小时")
    private Integer expireHour;

    @ApiModelProperty("虚拟销售")
    private Integer virtualSale;

    @ApiModelProperty("砍价规则")
    private String rules;

    @ApiModelProperty("商品id")
    private String itemId;

    @ApiModelProperty("商品名称")
    private String itemName;

    @ApiModelProperty("商品价格")
    private BigDecimal itemPrice;

    @ApiModelProperty("商品主图url")
    private String itemImage;

    @ApiModelProperty("总库存")
    private Integer sumStock;

    @ApiModelProperty("剩余库存")
    private Integer surplusStock;

    @ApiModelProperty("首刀金额")
    private BigDecimal firstMoney;

    @ApiModelProperty("底价")
    private BigDecimal thresholdPrice;

    @ApiModelProperty("超出底价后随机金额最小值")
    private BigDecimal thresholdRandomMin;

    @ApiModelProperty("超出底价后随机金额最大值")
    private BigDecimal thresholdRandomMax;

    @ApiModelProperty("活动状态 0：进行中，1：结束")
    private Integer status;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("创建时间")
    private Instant gmtCreated;

    @ApiModelProperty("修改时间")
    private Instant gmtModified;

    @ApiModelProperty("订单数")
    private Integer orders = 0;

    @ApiModelProperty("支付金额")
    private BigDecimal amount = BigDecimal.ZERO;

    @ApiModelProperty("浏览量")
    private Integer views = 0;

    @ApiModelProperty(value = "所属平台：0系统后台，1五八马商户")
    private Integer platform;
}
